package com.imooc.security.core.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Zqm
 * @Title: ImageCodeProperties
 * @ProjectName imooc-security
 * @date 2018/12/20
 * 图片配置类
 */
@Component
@ConfigurationProperties(prefix = "imooc.security.code.image")
public class ImageCodeProperties extends SmsCodeProperties {

    public ImageCodeProperties(){
        setLength(4);
    }

    private int width=67;

    private int height=23;

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }
}
